﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonCs
{
    public class Exceptions
    {
        public static int AdminYes = 1;
        public static int Adminno = 0;
        public static int ReplyYes = 1;
        public static int ReplyNo = 0;
        public static string Abnormal = "Abnormal";
        public static string Operational = "Operational";

        public static String loginSql = "登录sql语句异常!";
        public static String getUserSql = "获取用户对象sql语句异常!";
        public static String insertUserSql = "添加用户sql语句异常!";
        public static String deleteuse = "删除用户sql语句异常!";
        public static String getbuglistbybugtypeSql = "根据bug类型获取列表sql语句异常!";
        public static String getmyinfo = "获取个人信息异常!";
        public static String getallbugtype = "获取所有的bug类型异常!";
        public static String ajaxpagingerror = "bug列表分页异常!";
        public static String getbugbybugid = "根据bugid获取bug信息异常!";
        public static String getreplysbybugid = "根据bugid获取回复信息异常!";
        public static String getreplycountbybugid = "根据bugid获取回复条数异常!";
        public static String insertreply = "插入回复记录异常!";
        public static String updateBugReplyCount = "更新bug的回复条数异常!";
        public static String addbugtype = "添加bug类别异常!";
        public static String updatebugtype = "更新bug类别异常!";
        public static String deletebugtype = "删除bug类别异常!";
        public static String getalluser = "获取所有用户异常!";
        public static String searchbuglistbytitle = "根据title查询列表异常!";
        public static String getallfiles = "获取所有上传文件信息异常!";
        public static String uploadfileintodb = "上传文件写入数据库异常!";
        public static String deletefile = "删除文件并更新数据库异常!";
    }
}
